Skip to content

Fix 14937: False positive: inconclusive nullPointerRedundantCheck with thunk - #8755

Merged
chrchr-github merged 3 commits into
cppcheck-opensource:mainfrom
pfultz2:symboldb-thunk-call
Jul 29, 2026
Merged

Fix 14937: False positive: inconclusive nullPointerRedundantCheck with thunk#8755
chrchr-github merged 3 commits into
cppcheck-opensource:mainfrom
pfultz2:symboldb-thunk-call

Conversation

@pfultz2

@pfultz2 pfultz2 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/symboldatabase.cpp
const Function* Scope::findFunction(const Token *tok, bool requireConst, Reference ref) const
const Function* Scope::findFunction(const Token* tok, bool requireConst, Reference ref, const std::string& funcName) const
{
const std::string& name = funcName.empty() ? tok->str() : funcName;
@pfultz2

pfultz2 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@danmar @chrchr-github Any feedback?

@chrchr-github
chrchr-github merged commit 8effc6c into cppcheck-opensource:main Jul 29, 2026
70 checks passed
@pfultz2
pfultz2 deleted the symboldb-thunk-call branch July 29, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants